package org.qiyu.live.id.generate.provider.service;

import org.qiyu.live.id.generate.provider.entity.IdGeneratePO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author c
* @description 针对表【t_id_generate_config】的数据库操作Service
* @createDate 2024-02-29 15:13:29
*/
public interface IdGenerateService extends IService<IdGeneratePO> {

    /**
     * 获取有序id
     * @param id
     * @return
     */
    Long getSeqId(Integer id);

    /**
     * 获取无序id
     * @param id
     * @return
     */
    Long getUnSeqId(Integer id);
}
